Skip to content

UX: fix MQ mismatch + adjust btn styling - #142

Merged
chapoi merged 2 commits into
mainfrom
ux-styling-fix
Mar 13, 2026
Merged

chapoi merged 2 commits into
mainfrom
ux-styling-fix

Conversation

@chapoi

@chapoi chapoi commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

There was a mismatch between the MQ cutoff for styling and behaviour of the ToC element (meta report)

This commit:

  • fixes that by moving the MQ from md to lg, which ensures (smaller) tablets will also render correct
  • changes the styling of the d-toc-mini button by removing the wrong btn-primary class and adding the same styling as other buttons in the same mobile-footer element, which contributes to a more coherent feel.
    This will also block theming of regular buttons to take effect, to avoid irregular styling
BC AC
CleanShot 2026-03-13 at 10 48 51@2x CleanShot 2026-03-13 at 10 48 12@2x

@chapoi
chapoi merged commit 502e5ff into main Mar 13, 2026
4 checks passed
@chapoi
chapoi deleted the ux-styling-fix branch March 13, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants